package com.beesphere.products.throttling;

import java.security.BasicPermission;
import java.security.Permission;

public class EnhancedThreadPermission extends BasicPermission {

	private static final long serialVersionUID = -4717467609462745812L;

	public static final String WRITE = "write";
	public static final String READ = "read";

	public static final Permission READ_CONTEXT = new EnhancedThreadPermission (READ);
	public static final Permission WRITE_CONTEXT = new EnhancedThreadPermission (WRITE);

	public EnhancedThreadPermission (String name) {
		super (name);
	}

}
